const mysql = require("mysql");
//连接数据库的模块
var pool = mysql.createPool({
	host:"127.0.0.1",
	user:"root",
	password:"",
	database:"nbashop",
	connectionLimit:10
});

//导出连接数据库
module.exports = pool;
